<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>盒子模型之内边距</title>
    <style>
        /*padding 属性用于设置内边距，即边框与内容之间的距离*/
        div {
            width: 200px;
            height: 200px;
            background-color: pink;
            padding-left: 20px;
            /*上边距*/
            padding-top: 30px;

        }
    </style>
</head>
<body>
<div>
    盒子内容是content盒子内容是content盒子内容是content盒子内容是content
</div>
</body>
</html>